package cn.codinglives.demo.order.remote;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

@Component
public class LogisticServiceFallbackService implements LogisticService {
    private final static Logger logger = LoggerFactory.getLogger(LogisticServiceFallbackService.class);

    @Override
    public String delivery(String orderId) {
        logger.info("delivery fallback deal:{}", orderId);
        return "ok";
    }
}
